﻿@page

@using Magic.Oidc.AuthorizatonServer

@model Magic.Oidc.AuthorizatonServer.Pages.Consent

@*Please do not forget to add tag helper*@

@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers


<article>
    <header>授权</header>
    <p style="display:none">Redirect url: @Model.ReturnUrl</p>
    是否允许来自客户端的访问？
    <form method="post">
            <input name="grant" id="grant" style="display:none"/>
            <button onclick="javascript:document.getElementById('grant').value='@Consts.GrantAccessValue'">允许</button>
            <button onclick="javascript:document.getElementById('grant').value='@Consts.DenyAccessValue'" class="secondary">拒绝</button>
        </form>
    @*<footer>
        
    </footer>*@
</article>
